package com.jk.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

import java.util.Date;
/*1* @Return *
2* @Author: lxb
3* @Description:
4* @Date: 2022/11/2 15:43
5 * @param null
6:
**/

@TableName("secondkill")
@Data
public class SecondKillEntity {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer proId;
    private Double price;
    private String proname;
    private Integer surpluscount;
    private String  description;
    private Integer type;
    private String proimg;
    private String products;
    private String definite;
    private String brand;
    @TableField(exist = false)
    private String ids;

    private Double killPrice;
    @TableField(exist = false)
    private String typeName;

    private  Integer      productprice;//商品是否货到付款
    private  Integer      productcount;//商品售出数量
    //商品是否热销
    private Integer status;
    //价格区间查
    @TableField(exist = false)
    private Double MaxPrice;
    @TableField(exist = false)
    private Double MinPrice;

    private String startDate;
    private String endDate;

    private Integer purCount;


    @TableField(exist = false)
    private long[] toStart;
    @TableField(exist = false)
    private long[] toEnd;









}
